package ud13.ej18_19;

import java.awt.Graphics;

public class Circulo implements Figura {

	private int x;
	private int y;
	private int diametro;

	public Circulo(int x, int y) {
		this.x=x;
		this.y=y;
		this.diametro=50;
	}

	@Override
	public void dibujar(Graphics g) {
		g.drawOval(x, y, diametro, diametro);
	}

}
